package com.ftg.rbac.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 岗位
 *
 * @author kangjx
 * @version 1.0
 * @date 2023/3/16 上午9:08
 */
public interface PostMapper {

    @Select("select count(pid) from post where pid =#{pid}")
    int findNumByPid(@Param("pid") Integer pid);
}
